<?php
/* 
 * Amnesia is Copyright (c) 2010 Mark Russell
 * 
 * Contact: info@amnesia-app.com	
 * 
 * This file is part of Amnesia.
 * 
 * Amnesia is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * Amnesia is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with Amnesia. If not, see <http://www.gnu.org/licenses/>.
 *
 */

// Change the following to suit your particular server and database setup.

$hostname   = "localhost";				// The hostname of the comuter running your web service. Usually "localhost".
$dbname     = "amnesia-test_data";		// The name you gave your database. (Some hosts will add characters to this name.)
$dbuser     = "";						// The username of the database user you created for Amnesia.
$dbpassword = "";						// The password for the database user you created for Amnesia.


// Don't change anything below this comment!

// Connect to the mysql database.
$con = mysql_connect($hostname, $dbuser, $dbpassword) or die(mysql_error());
mysql_select_db($dbname, $con) or die(mysql_error());

function showerror() {
	die("<strong>Error </strong>" . mysql_errno() . " : " . mysql_error());
}

?>